﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FtpLibDotNet
{
    public class FtpDirectoryInfo
    {
        internal FtpConnection Connection { get; private set; }
        public string Path { get; private set; }

        private FtpDirectoryInfo(FtpConnection connection, string path)
        {
            this.Connection = connection;
            this.Path = path;
        }

        public FtpDirectoryInfoCollection GetSubdirectories()
        {
            return new FtpDirectoryInfoCollection();
        }

        public FtpFileInfoCollection GetFiles()
        {
            return new FtpFileInfoCollection();
        }

        public void Delete()
        {
        }

        internal static FtpDirectoryInfo Create(FtpConnection connection, string path)
        {
            return new FtpDirectoryInfo(connection, path);
        }
    }
}
